import ReactDOM from 'react-dom/client';
import { RouterProvider } from 'react-router-dom';
import { ConfigProvider } from 'antd';
import { routers } from '@renderer/router';
import './index.less';
// 引入Ant Design中文语言包
import zhCN from 'antd/locale/zh_CN'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <ConfigProvider locale={zhCN}>
    <RouterProvider router={routers} />
  </ConfigProvider>
)
